CVE-2023-53304
netfilter: nft_set_rbtree: fix overlap expiration walk
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_set_rbtree: fix overlap expiration walk The lazy gc on insert that should remove timed-out entries fails to release the other half of the interval, if any. Can be reproduced with tests/shell/testcases/sets/0044interval_overlap_0 in nftables.git and kmemleak enabled kernel. Second bug is the use of rbe_prev vs. prev pointer. If rbe_prev() returns NULL after at least one iteration, rbe_prev points to element that is not an end interval, hence it should not be removed. Lastly, check the genmask of the end interval if this is active in the current generation.
INFO
Published Date :
Sept. 16, 2025, 5:15 p.m.
Last Modified :
Sept. 16, 2025, 5:15 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Update the Linux kernel to the latest stable version.
- Apply the specific patch for netfilter: nft_set_rbtree.
- Recompile the kernel with corrected rbtree logic.
- Verify interval expiration and pointer handling.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-53304
.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-53304
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-53304
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-53304
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-53304
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Sep. 16, 2025
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_set_rbtree: fix overlap expiration walk The lazy gc on insert that should remove timed-out entries fails to release the other half of the interval, if any. Can be reproduced with tests/shell/testcases/sets/0044interval_overlap_0 in nftables.git and kmemleak enabled kernel. Second bug is the use of rbe_prev vs. prev pointer. If rbe_prev() returns NULL after at least one iteration, rbe_prev points to element that is not an end interval, hence it should not be removed. Lastly, check the genmask of the end interval if this is active in the current generation. Added Reference https://git.kernel.org/stable/c/50cbb9d195c197af671869c8cadce3bd483735a0 Added Reference https://git.kernel.org/stable/c/8284a79136c384059e85e278da2210b809730287 Added Reference https://git.kernel.org/stable/c/893cb3c3513cf661a0ff45fe0cfa83fe27131f76 Added Reference https://git.kernel.org/stable/c/89a4d1a89751a0fbd520e64091873e19cc0979e8 Added Reference https://git.kernel.org/stable/c/acaee227cf79c45a5d2d49c3e9a66333a462802c Added Reference https://git.kernel.org/stable/c/cd66733932399475fe933cb3ec03e687ed401462 Added Reference https://git.kernel.org/stable/c/f718863aca469a109895cb855e6b81fff4827d71